package bill.study.javaPuzzlers.classy;

/**
 * Solution: Java's overload resolution process operates in two phases. The first phase
 * selects all the methods or constructors that are accessible and applicable.
 * The second phase selects the most specific of the methods or constructors
 * selected in the first phase. One method or constructor is less specific than
 * another if it can accept any parameters passed to the other *
 *
 * @author yangliu
 *
 */
public class Confusing {
    private Confusing(Object o) {
        System.out.println("Ojbect");
    }

    private Confusing(double[] dArray) {
        System.out.println("double array");
    }

    public static void main(String[] args) {
        new Confusing(null);
    }

}
